#ifndef dram_guard
#define dram_guard

#include<stdint.h>

#define MM_LEN 1000  //定义内存的大小

static uint8_t mm[MM_LEN]; //physical memory

// mm[0x7ffffffee218 % MM_LEN] //让地址的值落在1000的大小内

//virtual address = 0x0  - >   0xffff ffff ffff ffff
//physical address = 000  - >  999

uint64_t read64bits_dram(uint64_t paddr);
void write64bits_dram(uint64_t paddr, uint64_t data);

//将rbp到rsp之间的内存打印出来
void print_stack();
//打印所有的register
void print_register();



#endif